Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

fix(css): disable minification when using uglify #383

Merged
merged 2 commits into from
Jan 9, 2018

Conversation

sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented Dec 28, 2017

When uglify is used, it triggers the minification option of the
css-loader. The css-loader uses internally cssnano to optimize the size
of the stylesheets. Since NativeScript supports only a subset of the CSS language, many of these optimizations may be damaging for the user's css.

related to #154, #135
fixes #377

@sis0k0 sis0k0 requested a review from PanayotCankov December 28, 2017 11:32
@sis0k0 sis0k0 force-pushed the vlaeva/disable-css-minification branch from 6b76af2 to c00495d Compare January 2, 2018 15:12
@sis0k0 sis0k0 force-pushed the vlaeva/disable-css-minification branch from c00495d to 0872a50 Compare January 9, 2018 13:55
@sis0k0 sis0k0 merged commit 8e1a5a6 into master Jan 9, 2018
@sis0k0 sis0k0 deleted the vlaeva/disable-css-minification branch January 9, 2018 15:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Webpack uglifier corrupts CSS rules
2 participants